html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  /* 移除旧的背景色，使用custom.css中的新背景 */
}

.vote-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.vote-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.vote-option {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 4px 0;
    background: rgba(248, 249, 250, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.vote-option:hover {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateX(4px);
}

.vote-progress {
    height: 24px;
    border-radius: 12px;
    margin: 8px 0;
    background: rgba(233, 236, 239, 0.8);
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: width 0.6s ease;
}

.vote-statistics {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

/* 拖拽相关样式 */
.sortable-ghost {
    opacity: 0.4;
    background-color: #f8f9fa;
}

.sortable-chosen {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.sortable-drag {
    opacity: 0.9;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.15);
}

.drag-handle {
    cursor: move;
    cursor: -webkit-grabbing;
}

.card {
    transition: all 0.2s ease;
}

/* 拖动时的动画效果 */
.card.dragging {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}